export default {
	ver: {
		url: `/auth/ver`,
		name: '登陆获取系统版本',
		get: async function (params: object | undefined) {
			return await http.get(this.url, params)
		}
	},
	token: {
		url: `/auth/token`,
		name: '登陆获取token',
		post: async function (data = {}) {
			return await http.post(this.url, data)
		}
	},
	menus: {
		url: `/auth/menus`,
		name: '登陆获取用户菜单',
		get: async function () {
			return await http.get(this.url)
		}
	}
}
